Added better casting rendering