filtered input keys
draw optimisation