update view in drawForeground, and add MousePressEvent