frame/bounds fixes