Fix caching bug

Caching didn't take angle and colors into account before

Signed-off-by: Yaşar Arabacı <yasar11732@gmail.com>