Small refactoring of rendering code
Refactor direction stuff to make sure we don't erase meta we don't need