bugfix movetotop negative maxWidth