Keyboard sometime shown but not wanted

When we play a movie from a search window and then quit, shutdown tv. Then when we want to resume, keyboard is shown even if we cancel it while we can see previous search listing in background.