tiles positioning now works correctly