Added bounce functionality for entities