Fixed some weird rendering stuff