Account for decimals and lack of vertical value in background-position