Fixed UI related issues

Kindly check and accept the pull request, I have fixed the major UI related issues in rtPanel.