Fixed a bug with Safari's rubber band