Fixed compilation errors on Linux
Fixed mouse up / mouse down mixup in LinuxWindow