Stop from falling off edge.