onOutOfBounds now works