Paint key handling