Fixed border detection in the drone class