fix the top view snapshot frame problem if the app supports landscape mode only