Fixes exception in room frame.