bug fix re mouse coordinates and scroll bars