correction of coordinates in keyboard fragment