Fix vertex rendering