Fixed mouse coordinates bug and others