Add some restrictions to only draw in master process
Authored by: dariovillar 2013-04-14
Parent: [r30]
Child: [r32]