fixes for horizontal rendering