Floating text fixes. Some bugs found in indexes and arrays