Fix using application frame size