Changed checkAsideExpose() to onResize()

closes #2315