I had a blue border and permanent keyboard locked in portrait view (wouldn't rotate) with the touch screen being slightly off (didn't accurately recognize where my finger was) after reinstalling Google Sync. To fix it I went to
options>applications>highlight Google Sync>click menu>click Disable Compatibility mode>pull the battery
This worked for me and with this app. I've seen the same blue border on a friends phone with YouMail and with the QuickPull Scheduler. I don't know if it would fix those problems as well, but it's definitely worth a shot! I gathered it was a Java problem but i dont know. It made the apps unusable.