Button fires on mousedown instead of mouseup