fixed out of range when clicking outside video x