Fixes for inventory menu for double-buffering