Improved select element rendering