backport to v2.7

Ensure float representation when placing backgrounds into rows