Fixes drawer disappearance bug.