Fixing webkit cube animation