Refactored player target to optimise pathfinding
Added short debounce to input for better targeting