Fixing critical bug that caused a resize loop for certain CSS props

2 jobs for master in 7 minutes and 6 seconds