bug in mouse coordinate position