Fixed an issue with quicksand