Changed RGB components' type from float to int