bugfix: recalculate screen offset