Working on S60v3 Feature Pack 1 (Nokia E61 and Nokia Navigator) I sometime notice that the phone is changing the size of the screen when returning from text boxes. This causes a huge mess, obviously.

Is this a known issue? Is there another less-prone-to-bugs place to take the screen dimensions from?