Fix issue with bounce effect