fix home key press context loss