Implemented rendering with opacity