Fixed stores not always detecting free inventory space correctly

by @AgentREV
Yet another attempt at stopping blinking fog

by @AgentREV