This happens in BetterStorage's Reinforced Chests, Lockers, Reinforced Lockers and Crates.
Kobata commented
The button locations are based on the size of the GUI, and in this case, intentionally placed in a slightly awkward spot because the normal location for the vertical (large GUI) buttons would be off to the right, overlapping the first set of NEI items.