Fixed drawing logic