Use window instead of this