performance enhancements for background-size cover