Fix inventory scrollbar not having correct initial state.