handle rect in status bar screenshot