added rect param to merge status bar to context method