Fix support for sprite placement algorithm